package com.hanlin.backend.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 用户基础信息表
 * </p>
 *
 * @author hl.yuan
 * @since 2021-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "HlUserInfo对象", description = "用户基础信息表")
public class HlUserInfo extends EntityBase implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关联hl_user的ID")
    private Integer userId;

    @ApiModelProperty(value = "用户名字")
    private String userName;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "邮件地址")
    private String mail;

    @ApiModelProperty(value = "性别：0=男；1=女")
    private Integer sex;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "住址")
    private String address;


}
